home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mntinc20 / setjmp.h < prev    next >
C/C++ Source or Header  |  1992-05-15  |  490b  |  29 lines

  1. #ifndef _SETJMP_H
  2. #define _SETJMP_H
  3.  
  4. #ifndef _COMPILER_H
  5. #include <compiler.h>
  6. #endif
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. typedef char * jmp_buf[14];
  13.  
  14. __EXTERN int    setjmp    __PROTO((jmp_buf));
  15. __EXTERN void    longjmp    __PROTO((jmp_buf, int));
  16.  
  17. #ifndef __MINT__
  18. # ifndef __cplusplus
  19. __EXTERN int catch __PROTO((jmp_buf id, int (*fn )(void )));
  20. __EXTERN void throw __PROTO((jmp_buf id, int rv));
  21. # endif
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27.  
  28. #endif /* _SETJMP_H */
  29.